package com.handtransaction.entity;

import java.math.BigDecimal;
import java.util.Date;

public class DataBean {
    private Integer dataId;
    private Integer userNumber;
    private Integer goodNumber;
    private Integer orderNumber;
    private Integer tipOffNumber;
    private Integer offShelfNumber;
    private BigDecimal transactionAmount;
    private Date dataTime;
    private String date = "";

    public DataBean(){}

    public DataBean(Integer dataId, Integer userNumber, Integer goodNumber, Integer orderNumber, Integer tipOffNumber, Integer offShelfNumber) {
        this.dataId = dataId;
        this.userNumber = userNumber;
        this.goodNumber = goodNumber;
        this.orderNumber = orderNumber;
        this.tipOffNumber = tipOffNumber;
        this.offShelfNumber = offShelfNumber;
    }

    public DataBean(Integer userNumber, Integer goodNumber, Integer orderNumber, Integer tipOffNumber, Integer offShelfNumber, BigDecimal transactionAmount, String date) {
        this.userNumber = userNumber;
        this.goodNumber = goodNumber;
        this.orderNumber = orderNumber;
        this.tipOffNumber = tipOffNumber;
        this.offShelfNumber = offShelfNumber;
        this.transactionAmount = transactionAmount;
        this.date = date;
    }

    public DataBean(Integer userNumber, Integer goodNumber, Integer orderNumber, Integer tipOffNumber, Integer offShelfNumber, BigDecimal transactionAmount) {
        this.userNumber = userNumber;
        this.goodNumber = goodNumber;
        this.orderNumber = orderNumber;
        this.tipOffNumber = tipOffNumber;
        this.offShelfNumber = offShelfNumber;
        this.transactionAmount = transactionAmount;
    }

    public Integer getDataId() {
        return dataId;
    }

    public void setDataId(Integer dataId) {
        this.dataId = dataId;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public Integer getGoodNumber() {
        return goodNumber;
    }

    public void setGoodNumber(Integer goodNumber) {
        this.goodNumber = goodNumber;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getTipOffNumber() {
        return tipOffNumber;
    }

    public void setTipOffNumber(Integer tipOffNumber) {
        this.tipOffNumber = tipOffNumber;
    }

    public Integer getOffShelfNumber() {
        return offShelfNumber;
    }

    public void setOffShelfNumber(Integer offShelfNumber) {
        this.offShelfNumber = offShelfNumber;
    }

    public BigDecimal getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(BigDecimal transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "DataBean{" +
                "dataId=" + dataId +
                ", userNumber=" + userNumber +
                ", goodNumber=" + goodNumber +
                ", orderNumber=" + orderNumber +
                ", tipOffNumber=" + tipOffNumber +
                ", offShelfNumber=" + offShelfNumber +
                ", transactionAmount=" + transactionAmount +
                ", dataTime=" + dataTime +
                ", date='" + date + '\'' +
                '}';
    }
}
